<?php if( $this->status ) { ?>
<div style="color:green;background:#BAFFB1;width: 99%; border: 1px solid green; padding:6px; text-align: center;">Newsletter został wysłany</div>
<?php } ?>

<table>
	<tr>
		<td>
			<a class="button" href="javascript:void(null)" onclick="$('#formitem').submit()">
				<div style="background:url(<?php echo $this->baseUrl() ?>/public/images/save_16.png);" class="inb">Wyślij</div>
			</a>
		</td>
	</tr>
</table>
<form method="post" id="formitem" enctype="multipart/form-data">	
	<div class="bglist">
		<div class="bglistq">
			<table cellspacing="1" cellpadding="6" class="tform">
				<tr>
					<td>Tytuł newslettera</td>
					<td><input type="text" name="title" value="" /></td>
				</tr>
				<tr>
					<td>Treść newslettera</td>
					<td><textarea cols="80" rows="24" name="text"></textarea></td>
				</tr>
			</table>
		</div>
	</div>

</form>